package com.android.zweibo.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import com.android.zweibo.bean.Common;

public class DBHelper extends SQLiteOpenHelper{

	public DBHelper(Context context) {
		super(context, Common.DB_NAME, null, Common.DB_VERSION);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		  db.execSQL(Common.USER_INFO_CREATE);
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// TODO Auto-generated method stub
		
	}

}
